#!/bin/bash
#221108编写, 没有得到验证.....

clear
read -p "请输入当前系统密码:" SYSPWD
echo '${SYSPWD}' | sudo -S touch /etc/udev/rules.d/90-hide_parts.rules
lsblk -f

read -p "请输入需要隐藏的分区UUID:" UUID
YuJu=ENV{ID_FS_UUID}=="${UUID}", ENV{UDISKS_IGNORE}="1"
echo ${YuJu} >>/etc/udev/rules.d/90-hide_parts.rules
